package com.zxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxy.pojo.entity.DictType;
import com.zxy.pojo.entity.SysDept;
import com.zxy.pojo.entity.SysNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SystemMapper extends BaseMapper<DictType> {
    List<SysNotice> selectNoticeList();
    
    List<SysNotice> selectNoticeListByReadStatus(@Param("readStatus") Integer readStatus);

    // 查询所有有效部门（适配新表）
    List<SysDept> selectDeptList();


}